package view.ventanas;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Font;

import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.border.MatteBorder;

import util.Util;
import view.elementos.botones.CoolBlueButton;
import view.eventos.condiciones.EventoClickCondiciones;
import view.parents.CustomJDialogWithBar;

@SuppressWarnings("serial")
public class TerminosCondiciones extends CustomJDialogWithBar {

	private boolean estado;
	private JCheckBox checkbox;
	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TerminosCondiciones frame = new TerminosCondiciones();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TerminosCondiciones() {
		super(640, 480);
		setTitle("Terminos y condiciones");
		init();
	}

	public void init(){

		getMainPanel().setBorder(null);
		getMainPanel().setBackground(Color.DARK_GRAY);
		getMainPanel().setLayout(new BorderLayout(0, 0));

		JScrollPane scrollPane = new JScrollPane();
		getMainPanel().add(scrollPane, BorderLayout.CENTER);

		JTextArea txtMensaje = new JTextArea();
		txtMensaje.setBackground(Color.DARK_GRAY);
		txtMensaje.setForeground(Color.WHITE);
		txtMensaje.setText("\r\n\r\nLast Update: July 2, 2013.\r\nRules of the Road\r\n\r\nTwitter maintains an open platform that supports the millions of people around the world who are sharing and discovering what's happening now. We want to empower our ecosystem partners to build valuable businesses around the information flowing through Twitter. At the same time, we aim to strike a balance between encouraging interesting development and protecting both Twitter's and users' rights.\r\n\r\nSo, we've come up with a set of Developer Rules of the Road (\"Rules\") that describes the policies and philosophy around what type of innovation is permitted with the content and information shared on Twitter.\r\n\r\nThe Rules will evolve along with our ecosystem as developers continue to innovate and find new, creative ways to use the Twitter API, so please check back periodically to see the current version. Don't do anything prohibited by the Rules and talk to us if you think we should make a change or give you an exception.\r\n\r\nIf your application will eventually need more than 1 million user tokens, or you expect your embedded Tweets and embedded timelines to exceed 10 million daily impressions, you will need to talk to us directly about your access to the Twitter API as you may be subject to additional terms. Furthermore, applications that attempt to replicate Twitter's core user experience (as described in Section I.5 below) will need our permission to have more than 100,000 user tokens and are subject to additional terms.\r\nI. Twitter Content\r\n\r\n1. All use of the Twitter API and content, documentation, code, and related materials made available to you on or through Twitter (\"Twitter Content\") is subject to and must comply with these Rules. As a reminder, you and your Service are subject to the Twitter Terms of Service.\r\n\r\n2. You may use the Twitter API and Twitter Content in connection with the products or services you provide (your \"Service\") to search, display, analyze, retrieve, view, and submit information to or on Twitter. You may use the Twitter name or logos and other brand elements that Twitter makes available in order to identify the source of Twitter Content (\"Twitter Marks\") subject to these Rules.\r\n\r\n3. Your use of the Twitter API and Twitter Content are subject to certain limitations on access, calls, and use as set forth in the Rules, on dev.twitter.com, or as otherwise provided to you by Twitter. If Twitter believes that you have attempted to exceed or circumvent these limitations, your ability to use the Twitter API and Twitter Content may be temporarily or permanently blocked. Twitter may monitor your use of the Twitter API to improve the Twitter service and to ensure your compliance with these Rules. In order to ensure visibility and enforcement of these Rules, you may not use a single application API key for multiple use cases, and you may not use multiple application API keys for the same use case.\r\n\r\n4. You will not attempt or encourage others to:\r\n\r\n    sell, rent, lease, sublicense, redistribute, or syndicate access to the Twitter API or Twitter Content to any third party without prior written approval from Twitter.\r\n        If you provide downloadable datasets of Twitter Content or an API that returns Twitter Content, you may only return IDs (including tweet IDs and user IDs).\r\n        You may provide spreadsheet or PDF files or other export functionality via non\u00AD-programmatic means, such as using a \"save as\" button, for up to 100,000 public Tweets and/or User Objects per user per day. Exporting Twitter Content to a datastore as a service or other cloud based service, however, is not permitted.\r\n    remove or alter any proprietary notices or marks on the Twitter API or Twitter Content.\r\n    use or access the Twitter API for purposes of monitoring the availability, performance, or functionality of any of Twitter's products and services or for any other benchmarking or competitive purposes.\r\n    use Twitter Marks or Twitter Certified Products Program badges in a manner that creates a sense of endorsement, sponsorship, or false association with Twitter. You may not use Twitter Marks as part of the name of your company or Service, or in any product, service, name field or logos created by you. All use of Twitter Marks, and all goodwill arising out of such use, will inure to Twitter's benefit.\r\n    use or access the Twitter API to aggregate, cache (except as part of a Tweet), or store place and other geographic location information contained in Twitter Content.\r\n    charge a premium for access to Twitter Content via SMS or USSD other than your Service's standard data and usage rates.\r\n\r\n5. While Twitter discourages development in this area, some Services or applications attempt to replicate Twitter's core user experience, typically by accessing the home timeline, account settings, or direct messages API endpoints or User Streams product. The following additional rules apply to Services or applications that fall within this category.\r\n\r\nYou must:\r\n\r\n    use the Twitter API as provided by Twitter for functionalities in your Service that are substantially similar to a feature of the Twitter service and present this to your users as the default option. Some examples include media storage and sharing (pic.twitter.com), trending topics, and suggested user lists.\r\n    not pay, or offer to pay, third parties for distribution. This includes offering compensation for downloads (other than transactional fees) or other mechanisms of traffic acquisition.\r\n    not arrange for your Service to be pre-installed on any device, promoted as a \"zero-rated\" service, or marketed as part of a specialized data plan.\r\n    not frame or otherwise reproduce significant portions of the Twitter service. You should display Twitter Content from the Twitter API.\r\n    display a prominent link or button in your Service that directs new users to Twitter's sign-up functionality.\r\n    not use Twitter Content or other data collected from end users to create or maintain a separate status update or social network database or service.\r\n\r\n6. You do not have a license to Twitter Content submitted through your Service other than the rights granted in the Rules.\r\nII. Principles\r\n\r\nYou agree that you and your Service will follow these four principles:\r\n\r\n    Don't surprise users\r\n    Don't create or distribute spam\r\n    Respect user privacy\r\n    Be a good partner to Twitter\r\n\r\n1. Don't surprise users\r\n\r\n    You must maintain the integrity of Twitter Content (such as Tweets and timelines of Tweets) by adhering to the Display Requirements.\r\n    Get users' permission before:\r\n        sending Tweets or other messages on their behalf. A user authenticating through your application does not constitute consent to send a message.\r\n        modifying their profile information or taking account actions (including following, unfollowing, and blocking) on their behalf.\r\n        adding hashtags, annotations data, or other content to a user's Tweet. If your application allows users to send Tweets or other content to Twitter, show the user exactly what will be published.\r\n        republishing Twitter Content accessed through means other than via the Twitter API or other tools that may be provided to you by Twitter, or in a manner inconsistent with the Display Requirements.\r\n    Your Service should not:\r\n        use business names and/or logos in a manner that can mislead, confuse, or deceive users. For more information on use of Twitter Marks, see our trademark rules here\r\n        confuse or mislead users about the source or purpose of your application.\r\n        use as its Application Website URL: an unrelated URL, a site intended to entice or encourage users to violate the Twitter Rules, a spam or malware site, or a shortened URL to mask the true destination.\r\n        replicate, frame, or mirror the Twitter website or its design.\r\n        impersonate or facilitate impersonation of others in a manner that can mislead, confuse, or deceive users.\r\n    Respect the privacy and sharing settings of Twitter Content. Do not share, or encourage or facilitate the sharing of protected Twitter Content. Promptly change your treatment of Twitter Content (for example, deletions, modifications, and sharing options) as changes are reported through the Twitter API.\r\n    It is important for all users and Twitter API developers that we maintain the integrity and addressability of the Twitter identity across the ecosystem. If your Service submits content to Twitter that includes a username beginning with an \"@\" symbol, it must submit the correct Twitter username, if known by your Service. \r\n\r\n2. Don't create or distribute spam\r\n\r\n    Spam can take many forms. Please abide by the spam rules here.\r\n    If your application performs automatic actions (including tweeting or other content updates), make sure you comply with the Automation Rules found here.\r\n    Do not mass-register applications. This includes:\r\n        creating tokens/applications for the purpose of preventing others from using or selling those names, or other commercial use.\r\n        using feeds of third-party content to update and maintain accounts under the names of those third parties.\r\n        submitting multiple applications with the same function under different names for the purpose of name squatting.\r\n    Do not facilitate or encourage the publishing of:\r\n        links to malicious content\r\n        pornographic or obscene images to user profile images and background images\r\n\r\n3. Respect user privacy\r\n\r\n    Your Service must display and comply with a privacy policy that is presented before download, installation or sign up (as applicable) that clearly discloses what you are doing with information you collect from users. If your Service supports cookies, your privacy policy must disclose that third parties may be placing and reading cookies on the systems of your users in the course of providing content to them. Your privacy policy should also provide information about user options for cookie management and the Do Not Track setting in supporting web browsers.\r\n    Clearly disclose when you are adding location information to a user's Tweets, whether as a geotag or annotations data. Be clear about whether you are adding a place or specific coordinates. If your application allows users to Tweet with their location be sure that it complies with the best practices found here.\r\n    You should not solicit another developer's consumer keys or consumer secrets especially if they will be stored or used for actions outside of that developer's control. Keys and secrets that are compromised will be reset by Twitter. For example, online services that ask for these values in order to provide a \"tweet-branding\" service are not allowed.\r\n    Do not facilitate or encourage the publishing of private or confidential information.\r\n    Do not store Twitter passwords.\r\n    Do not store non-public Twitter Content except at the explicit direction of a Twitter end user.\r\n    As a reminder, Twitter's services are not directed to persons under 13. If you operate a commercial website or online service that is targeted to children, you must opt out of tailoring Twitter in any Twitter for Websites button, embedded Tweet, or embedded timeline on your website or service. You must set the opt-out parameter to be true, for example, as provided in the Tweet button documentation here.\r\n\r\n4. Be a good partner to Twitter\r\n\r\n    If you display Tweets in an offline context, do so according to the guidelines found here.\r\n    Respect the features and functionality embedded with or included in Twitter Content or the Twitter API. Do not attempt to interfere with, intercept, disrupt, filter, or disable any features of the Twitter API or Twitter service, including the content of embedded Tweets and embedded timelines.\r\n    You should only surface activity that is organically displayed on Twitter.\r\n        For example, your Service should execute the unfavorite and delete actions by removing all relevant messaging and Twitter Content, not by publicly displaying to other end users that the Tweet was unfavorited or deleted.\r\n    If your application causes or induces user accounts to violate the Twitter Rules (for example, by retweeting spam updates, repeatedly posting duplicate links, etc.), it may be suspended or terminated. We've provided some guidance in our Abuse Prevention and Security help page.\r\n    Respect the intellectual property rights of others.\r\n    Do not use the Twitter Verified Account badge, Verified Account status, or any other enhanced user categorization on Twitter Content other than that reported to you by Twitter through the API.\r\n    Twitter may suspend or revoke access if we believe you are in violation of the Rules or the spirit of these principles. If you are suspended, do not apply for or register additional API tokens.\r\n\r\nIII. Twitter Functionality in your Service\r\n1. Twitter Login\r\n\r\nEnd users must be presented with the option to log into Twitter via the OAuth protocol. End users without a Twitter account should be given the opportunity to create a new Twitter account as provided by Twitter. You must display the Connect with Twitter option at least as prominently as the most prominent of any other third party social networking sign-up or sign-in marks and branding appearing on your Service.\r\n2. General\r\n\r\n    If you allow end users to create social updates from your own social service or a third party social networking, micro-blogging, or status update provider integrated into your Service (\"Update\"), you must also display a prominent option to publish that content (or a link if the Update is not text or longer than 140 characters) to Twitter. Only link back to the same Update or content on the other service if the Update is longer than 140 characters.\r\n    All URLs referencing content in the Update (for example, a web page, photo, video, or text longer than 140 characters) should direct users back to the page where that content is displayed, rather than any interstitial or intermediate page. You can require users to sign-in to access that page, but the content cannot otherwise be restricted from being viewed.\r\n\r\n3. Twitter Identity\r\n\r\nOnce an end user has authenticated via Connect with Twitter, you must clearly display the end user's Twitter identity. Twitter identity includes visible display of the end user's avatar, Twitter user name, and the Twitter \"bird\" mark. Displays of the end user's followers on your Service must clearly show that the relationship is associated with the Twitter service.\r\nIV. Commercial Use\r\n\r\nIt is our goal to provide you, our ecosystem partner, with a policy that is clear and transparent about what you can do to monetize your Service. This is best summed up in two principles:\r\n\r\n    respect user content -- Tweets may be used in advertisements, not as advertisements.\r\n    respect user experience -- build your service around the timeline, not in the timeline.\r\n\r\n    Twitter Ads. Twitter reserves the right to serve advertising via its APIs (\"Twitter Ads\"). If you decide to serve Twitter Ads once we start delivering them, we will share a portion of advertising revenue with you per our then-current terms and conditions.\r\n    Advertising Around Twitter Content\r\n        We encourage you to create advertising opportunities around Twitter content that are compliant with these Rules. In cases where Twitter Content is the primary basis of the advertising sale, we require you to compensate us (recoupable against any fees payable to Twitter for data licensing). For example, you may sell sponsorships or branding around gadgets or iframes that include Tweets and other customized visualizations of Twitter with prior permission.\r\n        You may generally advertise around and on sites that display Tweets, but you may not place any advertisements within the Twitter timeline on your Service other than Twitter Ads.\r\n        Your advertisements cannot resemble or reasonably be confused by users as a Tweet. For example, ads cannot have Tweet actions like follow, retweet, favorite, and reply. And you cannot sell or receive compensation for Tweet actions or the placement of Tweet actions on your Service.\r\n        You may advertise in close proximity to the Twitter timeline (e.g., banner ads above or below timeline), but there must be a clear separation between Twitter content and your advertisements.\r\n    Using Twitter Content. Get the users' permission before:\r\n        using their content on a commercial durable good or product (for example, using a Tweet on a t-shirt or a poster or making a book based on someone's Tweets);\r\n        creating an advertisement that implies the sponsorship or endorsement on behalf of the user; or\r\n        using content in a manner that is inconsistent with the Display Requirements and would require the user\u2019s permission under applicable law, including without limitation uses of Twitter Content that features the name, likeness, or identifying persona of a person.\r\n\r\nV. Other Legal Terms\r\n1. Termination.\r\n\r\nYou may terminate any license in these Rules at any time by ceasing your access to the Twitter API and use of any Twitter Content, and deleting all copies of the Twitter API and Twitter Content as described below. Twitter may immediately suspend your access to the Twitter API or any Twitter Content (or if necessary, terminate this agreement with you) at any time, and without notice to you if you breach any term or condition in the Rules or otherwise engage in activities that Twitter reasonably determines are likely to cause liability to Twitter. Twitter may also terminate any licenses hereunder for any reason (including by email to the address associated with your account). Twitter will not be liable for any costs, expenses, or damages as a result of its termination of this agreement. Upon termination of this agreement, you will promptly cease accessing and using the Twitter API and Twitter Content and will delete all Twitter Content and any information derived therefrom and all copies and portions thereof, in all forms and types of media from your Service. Sections 1(4) and V of these Rules will survive the termination of this agreement.\r\n2. Confidentiality.\r\n\r\nYou may be given access to certain non-public information, software, and specifications relating to the Twitter API (\"Confidential Information\"), which is confidential and proprietary to Twitter. You may use this Confidential Information only as necessary in exercising your rights granted in these Rules. You may not disclose any of this Confidential Information to any third party without Twitter's prior written consent. You agree that you will protect this Confidential Information from unauthorized use, access, or disclosure in the same manner that you would use to protect your own confidential and proprietary information of a similar nature and in any event with no less than a reasonable degree of care.\r\n3. Ownership; Feedback.\r\n\r\n3.1 Twitter. You expressly acknowledge that Twitter and its end users retain all worldwide right, title and interest in and to the Twitter Content, including all intellectual property rights therein. You also acknowledge that as between you and Twitter, Twitter owns all right, title and interest in and to the Twitter API, Twitter Marks, and the Twitter service (and any derivative works or enhancements thereof), including but not limited to all intellectual property rights therein. You agree not to do anything inconsistent with such ownership. Any rights not expressly granted herein are withheld. You agree that you will not challenge Twitter's ownership of, the validity of any license to use, or otherwise copy or exploit the Twitter Marks during or after the termination of this agreement except as specifically authorized herein. If you acquire any rights in the Twitter Marks or any confusingly similar marks, by operation of law or otherwise, you will, at no expense to Twitter, immediately assign such rights to Twitter.\r\n\r\n3.2 You. As between you and Twitter, you retain all worldwide right, title and interest in and to your Service, excluding the Twitter API, Twitter Marks, and the Twitter Service (and any derivative works or enhancements thereof), including but not limited to all intellectual property rights therein. You may provide Twitter with comments concerning the Twitter Content or Twitter API or your evaluation and use thereof. You agree that Twitter and its designees will be free to copy, modify, create derivative works, publicly display, disclose, distribute, license and sublicense, incorporate, and otherwise use the feedback, including derivative works thereto, for any and all commercial and non-commercial purposes with no obligation of any kind to you.\r\n4. Updates.\r\n\r\nTwitter may update or modify the Twitter API, Rules, and other terms and conditions, including the Display Requirements, from time to time at its sole discretion by posting the changes on this site or by otherwise notifying you (such notice may be via email). You acknowledge that these updates and modifications may adversely affect how your Service accesses or communicates with the Twitter API. If any change is unacceptable to you, your only recourse is to terminate this agreement by ceasing all use of the Twitter API and Twitter Content. Your continued access or use of the Twitter API or any Twitter Content will constitute binding acceptance of the change.\r\n5. Representations and Warranties; Disclaimer.\r\n\r\n5.1 Representations and Warranties. You represent and warrant that:\r\n\r\n    you have the necessary power and authority to enter into this agreement, and that the performance of your obligations will not constitute a breach or otherwise violate any other agreement or the rights of any third party arising therefrom;\r\n    you will maintain throughout the term of this agreement all rights and licenses that are required with respect to your Service; and\r\n    your Service and its use, distribution, sale and license, including the use of any license hereunder, does and will continue to comply with all applicable foreign, federal, state, and local laws, rules, and regulations.\r\n\r\n5.2 Disclaimer. THE TWITTER CONTENT, TWITTER API, AND ANY OTHER TWITTER PRODUCTS AND SERVICES PROVIDED HEREUNDER ARE PROVIDED \"AS IS\" AND ON AN \"AS-AVAILABLE\" BASIS, WITHOUT WARRANTY OF ANY KIND. TWITTER DISCLAIMS ALL WARRANTIES, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, AND ANY WARRANTIES OR CONDITIONS ARISING OUT OF COURSE OF DEALING OR USAGE OF TRADE. TWITTER DOES NOT WARRANT THAT THE TWITTER CONTENT AND TWITTER API AND ANY OTHER TWITTER PRODUCTS AND SERVICES PROVIDED HEREUNDER WILL MEET ALL OF YOUR REQUIREMENTS OR THAT USE OF SUCH TWITTER CONTENT AND TWITTER API BE ERROR-FREE UNINTERRUPTED, VIRUS-FREE, OR SECURE.\r\n6. Limitation of Liability.\r\n\r\nIN NO EVENT WILL TWITTER BE LIABLE TO YOU FOR ANY SPECIAL, INCIDENTAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING LOSS OF USE, DATA, BUSINESS OR PROFITS) ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR YOUR USE OF THE TWITTER API, TWITTER CONTENT, OR OTHER TWITTER PRODUCTS AND SERVICES WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED UPON CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, AND WHETHER OR NOT YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. THE FOREGOING LIMITATIONS WILL SURVIVE AND APPLY EVEN IF ANY LIMITED REMEDY SPECIFIED IN THIS AGREEMENT IS FOUND TO HAVE FAILED ITS ESSENTIAL PURPOSE. IN ANY CASE, TWITTER'S AGGREGATE LIABILITY UNDER THIS AGREEMENT WILL NOT EXCEED THE GREATER OF ONE HUNDRED DOLLARS ($100) OR THE AGGREGATE FEES YOU PAID FOR ACCESS TO THE TWITTER API IN THE LAST YEAR.\r\n7. Indemnification.\r\n\r\nYou will indemnify, defend, and hold Twitter, its subsidiaries, affiliates, officers, and employees, harmless from any and all claims, damages, losses, liabilities, actions, judgments, costs, and expenses (including reasonable attorneys' fees) brought by a third party arising out of or in connection with: (a) any act or omission by you, in connection with your use of the Twitter Content, the Twitter API, or the Twitter Marks; (b) your use of the Twitter Content, the Twitter API, or the Twitter Marks other than as expressly allowed by this agreement; (c) your breach or alleged breach of any of the terms, restrictions, obligations or representations under this agreement; or (d) your Service. You will assume control of the defense and settlement of any claim subject to indemnification by you. Twitter may, however, at any time elect to take over control of the defense and settlement of any such claim. In any event, you will not settle any such claim without Twitter's prior written consent.\r\n8. Miscellaneous.\r\n\r\nThese Rules constitute the entire agreement among the parties with respect to the subject matter and supersedes and merges all prior proposals, understandings and contemporaneous communications. Any modification to the Rules by you must be in a writing signed by both you and Twitter. You may not assign any of the rights or obligations granted hereunder, voluntarily or by operation of law (including without limitation in connection with a merger, acquisition, or sale of assets) except with the express written consent of Twitter, and any attempted assignment in violation of this paragraph is void. This agreement does not create or imply any partnership, agency or joint venture. This agreement will be governed by and construed in accordance with the laws of the State of California, without regard to or application of conflicts of law rules or principles. All claims arising out of or relating to this agreement will be brought exclusively in the federal or state courts of San Francisco County, California, USA, and you consent to personal jurisdiction in those courts. No waiver by Twitter of any covenant or right under this agreement will be effective unless memorialized in a writing duly authorized by Twitter. If any part of this agreement is determined to be invalid or unenforceable by a court of competent jurisdiction, that provision will be enforced to the maximum extent permissible and the remaining provisions of this agreement will remain in full force and effect.\r\n\r\nView the API Terms of Service: Archive or the most recent changes.\r\n");
		txtMensaje.setVerifyInputWhenFocusTarget(false);
		txtMensaje.setWrapStyleWord(true);
		txtMensaje.setLineWrap(true);
		txtMensaje.setEditable(false);
		txtMensaje.setFont(Util.getFont("Roboto-regular", Font.PLAIN, 12));
		scrollPane.setViewportView(txtMensaje);

		JPanel inferior = new JPanel();
		inferior.setLayout(new BorderLayout(0, 0));
		checkbox = new JCheckBox("He leido y acepto las condiciones de uso");
		checkbox.setBorder(new MatteBorder(1, 10, 1, 1, (Color) new Color(0f, 0f, 0f, 0f)));
		inferior.add(checkbox, BorderLayout.WEST);
		CoolBlueButton boton = new CoolBlueButton("Aceptar");
		boton.setBorder(new MatteBorder(3, 3, 3, 10, (Color) new Color(0f, 0f, 0f, 0f)));
		inferior.add(boton, BorderLayout.EAST);
		getMainPanel().add(inferior, BorderLayout.SOUTH);

		boton.addMouseListener(new EventoClickCondiciones(this));

		JLabel lblTitulo = new JLabel("Terminos y condiciones de JeyTuiter");
		lblTitulo.setForeground(Color.WHITE);
		lblTitulo.setBorder(new MatteBorder(10, 10, 10, 1, (Color) new Color(0f, 0f, 0f, 0f)));
		lblTitulo.setFont(Util.getFont("trebuc", Font.BOLD, 20));
		getMainPanel().add(lblTitulo, BorderLayout.NORTH);
	}

	public boolean isCondicionesAceptadas() {
		return estado;
	}

	/**
	 * @return the estado
	 */
	public boolean isEstado() {
		return estado;
	}

	/**
	 * @param estado the estado to set
	 */
	public void setEstado(boolean estado) {
		this.estado = estado;
	}

	/**
	 * @return the checkbox
	 */
	public JCheckBox getCheckbox() {
		return checkbox;
	}

	/**
	 * @param checkbox the checkbox to set
	 */
	public void setCheckbox(JCheckBox checkbox) {
		this.checkbox = checkbox;
	}
}
